﻿#include "pch.h"
//#include "oatpp/core/macro/codegen.hpp"
//
//#include "oatpp/codegen/ApiController_define.hpp"
//
//#include OATPP_CODEGEN_BEGIN(ApiController) ///< Begin ApiController codegen section
//
//class MyController : public oatpp::web::server::api::ApiController {
//public:
//
//    //ENDPOINT("POST", "/login", login,
//    //    /* ADD BODY */ BODY_STRING(String, payload)) { //<-- BODY_STRING is now specified
//    //    //... code here
//    //    return createDtoResponse(Status::CODE_200, dto);
//    //}
//
//    //ENDPOINT("GET", "/getUserInfo", getUserInfo) {
//    //    //-- code here
//    //    auto response = createDtoResponse(Status::CODE_200, dto);
//
//    //    return response;
//    //}
//};
//
//#include "oatpp/codegen/ApiController_undef.hpp"
